Skip to main content

defaultMenubar

Type

property

Summary

Specifies which menu bar is displayed on Mac OS systems when the active window's menubar property is empty.

Syntax

set the defaultMenubar to <group>

Description

Use the defaultMenubar property to change the menus used by stacks that don't have their own custom menu bar.

The defaultMenuBar specifies a group of buttons. Each button in the group becomes a menu in the menu bar.

The setting of the defaultMenubar property has no effect on Unix and Windows systems, except that references to menus are taken as referring to the defaultMenubar if the stack in the active window has no menu bar of its own.

Parameters

NameTypeDescription

group

A group reference or an expression that evaluates to a group reference.

Examples

set the defaultMenubar to the long ID of group 1 of stack "Menubars"

glossary: property, active window, Mac OS, menu bar

property: editMenus, menubar

function: menus

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?